[INFO] fetching crate xhook-rs 0.2.0...
[INFO] building xhook-rs-0.2.0 against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] extracting crate xhook-rs 0.2.0 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate xhook-rs 0.2.0 on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate xhook-rs 0.2.0
[INFO] finished tweaking crates.io crate xhook-rs 0.2.0
[INFO] tweaked toml for crates.io crate xhook-rs 0.2.0 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate crates.io crate xhook-rs 0.2.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded xhook-sys v0.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2970d9cbe7c8f9d47f06514adaaf56f4515e0830fcd9e3f2d95608d7e4408f47
[INFO] running `Command { std: "docker" "start" "-a" "2970d9cbe7c8f9d47f06514adaaf56f4515e0830fcd9e3f2d95608d7e4408f47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2970d9cbe7c8f9d47f06514adaaf56f4515e0830fcd9e3f2d95608d7e4408f47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2970d9cbe7c8f9d47f06514adaaf56f4515e0830fcd9e3f2d95608d7e4408f47", kill_on_drop: false }`
[INFO] [stdout] 2970d9cbe7c8f9d47f06514adaaf56f4515e0830fcd9e3f2d95608d7e4408f47
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 55840fb26c379175562cf5cbb0c4794aec8def5939ddd733c6bfe06bd45c98fb
[INFO] running `Command { std: "docker" "start" "-a" "55840fb26c379175562cf5cbb0c4794aec8def5939ddd733c6bfe06bd45c98fb", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling bindgen v0.54.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling clang-sys v0.29.3
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling xhook-sys v0.2.0
[INFO] [stderr]    Compiling xhook-rs v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 22.00s
[INFO] running `Command { std: "docker" "inspect" "55840fb26c379175562cf5cbb0c4794aec8def5939ddd733c6bfe06bd45c98fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55840fb26c379175562cf5cbb0c4794aec8def5939ddd733c6bfe06bd45c98fb", kill_on_drop: false }`
[INFO] [stdout] 55840fb26c379175562cf5cbb0c4794aec8def5939ddd733c6bfe06bd45c98fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c30bd5bfff344dcd0b2a8c86e53be10bcf23b6c7d8d0358fca047c3beadeb22d
[INFO] running `Command { std: "docker" "start" "-a" "c30bd5bfff344dcd0b2a8c86e53be10bcf23b6c7d8d0358fca047c3beadeb22d", kill_on_drop: false }`
[INFO] [stderr]    Compiling xhook-rs v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::slice`
[INFO] [stdout]  --> examples/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::slice;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> examples/main.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let buf = libc::malloc(10);
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/tmp/rustcU9cxVo/symbols.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.5faa088c-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.5faa088c-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.5faa088c-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.5faa088c-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.5faa088c-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.5faa088c-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.5faa088c-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.5faa088c-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.5faa088c-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.5faa088c-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.main.5faa088c-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a.30rsoigbcfkdgs5b.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xhook-sys-0.2.0/dep" "-L" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblibc-607adcf3cce6ac0a.rlib" "/opt/rustwide/target/debug/deps/libxhook_rs-ea9843e3291d8d98.rlib" "/opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3dd5f78c3b43746e.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e13cbb326bcd01a4.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-13ac6af5403a52c8.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-a7b8febdd2acb289.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-343513f0726f71ed.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-8f833d900bfb98aa.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e97a7960ca6216c8.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-fb8c561e8c8eb24d.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a45121889bb564ec.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-f943c2d34bd4b56d.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-72ce2aaa649404e0.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-ac5d08ad5339e92e.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-dacfda262d5656fb.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e2056a834ba0712c.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a60649c148c6e2db.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-3e961d059b9bcde7.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-20f26f875d0170e2.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-522518611024dce5.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-05898138a596088a.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5b83a1df856cf582.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/main-6045a6191fd7c32a" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183)
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183)
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183)
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183)
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183)
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183)
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183)
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183)
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183)
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183)
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183)
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib(xhook.o): Relocations in generic ELF (EM: 183)
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libxhook_sys-97779dd96bf7b775.rlib: error adding symbols: file in wrong format
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `xhook-rs` due to 2 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "c30bd5bfff344dcd0b2a8c86e53be10bcf23b6c7d8d0358fca047c3beadeb22d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c30bd5bfff344dcd0b2a8c86e53be10bcf23b6c7d8d0358fca047c3beadeb22d", kill_on_drop: false }`
[INFO] [stdout] c30bd5bfff344dcd0b2a8c86e53be10bcf23b6c7d8d0358fca047c3beadeb22d
